package com.zja.service;

import com.zja.model.ArticleViewHistory;

import java.util.List;

/**
 * @author JA
 * @date: 2025/5/6
 * description:
 */
public interface ArticleViewHistoryService {

    List<ArticleViewHistory> getViewRecordsOfMyArticles(Long authorId, int page, int pageSize);

    int countViewRecordsOfMyArticles(Long authorId);

    boolean deleteViewRecordById(Long recordId, Long authorId);

    int deleteAllViewRecordsOfMyArticles(Long authorId);
}
